package lzy.mapper;

import lzy.entity.FarmOperation;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface FarmOperationMapper {
    int insert(FarmOperation operation);
    java.util.List<FarmOperation> findAll();
    java.util.List<FarmOperation> findByFilter(@org.apache.ibatis.annotations.Param("mainType") String mainType, @org.apache.ibatis.annotations.Param("baseId") String baseId, @org.apache.ibatis.annotations.Param("startDate") String startDate, @org.apache.ibatis.annotations.Param("endDate") String endDate);
    int countHarvest();
} 